package spring.awareioc;


import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

public class AwareApplicationContext implements ApplicationContextAware{
	private  ApplicationContext applicationContext;
	public void setApplicationContext(ApplicationContext arg0){
		this.applicationContext=arg0;
		System.out.println("AwareApplicationContext:"+arg0.getBean("awareApplicationContext").hashCode());
		
	}

}
